package com.bowen.spike.service;

import com.bowen.spike.entity.Voucher;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 优惠券表 服务类
 * </p>
 *
 * @author bowen
 * @since 2025-04-28
 */
public interface IVoucherService extends IService<Voucher> {

    void createVoucher(Voucher voucher) throws InterruptedException;

    void updateVoucherStatus(Long id,Integer status);
}
